//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package itbour.onetouchshow.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.andview.refreshview.XRefreshView;
import com.andview.refreshview.callback.IFooterCallBack;

import itbour.onetouchshow.R;

public class NoMoreDataViewFooter extends LinearLayout implements IFooterCallBack {
    private boolean showing = true;
    private Context mContext;

    public NoMoreDataViewFooter(Context context) {
        super(context);
        this.initView(context);
    }

    public NoMoreDataViewFooter(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.initView(context);
    }

    @Override
    public void callWhenNotAutoLoadMore(XRefreshView xRefreshView) {

    }

    @Override
    public void onStateReady(boolean b) {

    }

    @Override
    public void onStateRefreshing() {

    }

    @Override
    public void onReleaseToLoadMore() {

    }

    @Override
    public void onStateFinish(boolean b) {

    }

    @Override
    public void onStateComplete() {

    }

    @Override
    public void show(boolean b) {

    }

    @Override
    public boolean isShowing() {
        return false;
    }


    private void initView(Context context) {
        this.mContext = context;
        ViewGroup moreView = (ViewGroup) LayoutInflater.from(this.mContext).inflate(R.layout.no_more_data_layout, this);
        moreView.setLayoutParams(new LayoutParams(-1, -2));
    }

    public int getFooterHeight() {
        return this.getMeasuredHeight();
    }
}
